package app.goods.info.services.domain;

import com.alibaba.fastjson.annotation.JSONField;

public class GoodsInfo {
	@JSONField(name = "goods_original_price")
	private String goodsOriginalPrice;

	@JSONField(name = "goods_pic")
	private String goodsPic;

	@JSONField(name = "shop_check_stock")
	private String shopCheckStock;

	@JSONField(name = "discount")
	private String discount;

	@JSONField(name = "shop_evaluate_score")
	private String shopEvaluateScore;

	@JSONField(name = "shop_minimum_order_amount")
	private String shopMinimumOrderAmount;

	@JSONField(name = "promotional")
	private String promotional;

	@JSONField(name = "shop_no")
	private String shopNo;

	@JSONField(name = "goods_name")
	private String goodsName;

	@JSONField(name = "shop_name")
	private String shopName;

	@JSONField(name = "goods_unit")
	private String goodsUnit;

	@JSONField(name = "goods_alias")
	private String goodsAlias;

	@JSONField(name = "shop_distance_max")
	private String shopDistanceMax;

	@JSONField(name = "goods_unit_remark")
	private String goodsUnitRemark;

	@JSONField(name = "shop_main_products")
	private String shopMainProducts;

	@JSONField(name = "monthly_sales")
	private String monthlySales;

	@JSONField(name = "goods_price")
	private String goodsPrice;

	@JSONField(name = "goods_no")
	private String goodsNo;

	@JSONField(name = "member_price")
	private String memberPrice;

	@JSONField(name = "shop_logo")
	private String shopLogo;

	@JSONField(name = "shop_operating_status")
	private String shopOperatingStatus;

	@JSONField(name = "shop_score")
	private String shopScore;

	@JSONField(name = "goods_price_type")
	private String goodsPriceType;

	@JSONField(name = "quantity")
	private String quantity;

	@JSONField(name = "goods_unit_complex")
	private String goodsUnitComplex;

	@JSONField(name = "favorable_rate")
	private String favorableRate;

	@JSONField(name = "promotion_price")
	private String promotionPrice;

	@JSONField(name = "sku_no")
	private String skuNo;

	@JSONField(name = "shop_distance")
	private String shopDistance;

	@JSONField(name = "spec_name")
	private String specName;

	@JSONField(name = "shop_monthly_sales")
	private String shopMonthlySales;

	@JSONField(name = "sale_by_weight")
	private String saleByWeight;

	@JSONField(name = "promotion")
	private String promotion;

	public String getGoodsOriginalPrice() {
		return goodsOriginalPrice;
	}

	public void setGoodsOriginalPrice(String goodsOriginalPrice) {
		this.goodsOriginalPrice = goodsOriginalPrice;
	}

	public String getGoodsPic() {
		return goodsPic;
	}

	public void setGoodsPic(String goodsPic) {
		this.goodsPic = goodsPic;
	}

	public String getShopCheckStock() {
		return shopCheckStock;
	}

	public void setShopCheckStock(String shopCheckStock) {
		this.shopCheckStock = shopCheckStock;
	}

	public String getDiscount() {
		return discount;
	}

	public void setDiscount(String discount) {
		this.discount = discount;
	}

	public String getShopEvaluateScore() {
		return shopEvaluateScore;
	}

	public void setShopEvaluateScore(String shopEvaluateScore) {
		this.shopEvaluateScore = shopEvaluateScore;
	}

	public String getShopMinimumOrderAmount() {
		return shopMinimumOrderAmount;
	}

	public void setShopMinimumOrderAmount(String shopMinimumOrderAmount) {
		this.shopMinimumOrderAmount = shopMinimumOrderAmount;
	}

	public String getPromotional() {
		return promotional;
	}

	public void setPromotional(String promotional) {
		this.promotional = promotional;
	}

	public String getShopNo() {
		return shopNo;
	}

	public void setShopNo(String shopNo) {
		this.shopNo = shopNo;
	}

	public String getGoodsName() {
		if ("正大翅中".equals(goodsName) || "正大翅根".equals(goodsName) || "益客翅根".equals(goodsName)) {
			goodsName = goodsName + "（" + getGoodsUnit() + "）";
		}
		if ("益客翅中".equals(goodsName)) {
			if ("箱".equals(getGoodsUnit())) {
				goodsName = "益客翅中（M号）240-260/箱";
			} else {
				goodsName = goodsName + "（" + getGoodsUnit() + "）";
			}
		}
		if (goodsName != null && goodsName.equals("冷鲜仔排(成品不带龙骨)")) {
			goodsName = goodsName.replace("(", "（");
			goodsName = goodsName.replace(")", "）");
		}

		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getGoodsUnit() {
		return goodsUnit;
	}

	public void setGoodsUnit(String goodsUnit) {
		this.goodsUnit = goodsUnit;
	}

	public String getGoodsAlias() {
		return goodsAlias;
	}

	public void setGoodsAlias(String goodsAlias) {
		this.goodsAlias = goodsAlias;
	}

	public String getShopDistanceMax() {
		return shopDistanceMax;
	}

	public void setShopDistanceMax(String shopDistanceMax) {
		this.shopDistanceMax = shopDistanceMax;
	}

	public String getGoodsUnitRemark() {
		return goodsUnitRemark;
	}

	public void setGoodsUnitRemark(String goodsUnitRemark) {
		this.goodsUnitRemark = goodsUnitRemark;
	}

	public String getShopMainProducts() {
		return shopMainProducts;
	}

	public void setShopMainProducts(String shopMainProducts) {
		this.shopMainProducts = shopMainProducts;
	}

	public String getMonthlySales() {
		return monthlySales;
	}

	public void setMonthlySales(String monthlySales) {
		this.monthlySales = monthlySales;
	}

	public String getGoodsPrice() {
		return goodsPrice;
	}

	public void setGoodsPrice(String goodsPrice) {
		this.goodsPrice = goodsPrice;
	}

	public String getGoodsNo() {
		return goodsNo;
	}

	public void setGoodsNo(String goodsNo) {
		this.goodsNo = goodsNo;
	}

	public String getMemberPrice() {
		return memberPrice;
	}

	public void setMemberPrice(String memberPrice) {
		this.memberPrice = memberPrice;
	}

	public String getShopLogo() {
		return shopLogo;
	}

	public void setShopLogo(String shopLogo) {
		this.shopLogo = shopLogo;
	}

	public String getShopOperatingStatus() {
		return shopOperatingStatus;
	}

	public void setShopOperatingStatus(String shopOperatingStatus) {
		this.shopOperatingStatus = shopOperatingStatus;
	}

	public String getShopScore() {
		return shopScore;
	}

	public void setShopScore(String shopScore) {
		this.shopScore = shopScore;
	}

	public String getGoodsPriceType() {
		return goodsPriceType;
	}

	public void setGoodsPriceType(String goodsPriceType) {
		this.goodsPriceType = goodsPriceType;
	}

	public String getQuantity() {
		return quantity;
	}

	public void setQuantity(String quantity) {
		this.quantity = quantity;
	}

	public String getGoodsUnitComplex() {
		return goodsUnitComplex;
	}

	public void setGoodsUnitComplex(String goodsUnitComplex) {
		this.goodsUnitComplex = goodsUnitComplex;
	}

	public String getFavorableRate() {
		return favorableRate;
	}

	public void setFavorableRate(String favorableRate) {
		this.favorableRate = favorableRate;
	}

	public String getPromotionPrice() {
		return promotionPrice;
	}

	public void setPromotionPrice(String promotionPrice) {
		this.promotionPrice = promotionPrice;
	}

	public String getSkuNo() {
		return skuNo;
	}

	public void setSkuNo(String skuNo) {
		this.skuNo = skuNo;
	}

	public String getShopDistance() {
		return shopDistance;
	}

	public void setShopDistance(String shopDistance) {
		this.shopDistance = shopDistance;
	}

	public String getSpecName() {
		return specName;
	}

	public void setSpecName(String specName) {
		this.specName = specName;
	}

	public String getShopMonthlySales() {
		return shopMonthlySales;
	}

	public void setShopMonthlySales(String shopMonthlySales) {
		this.shopMonthlySales = shopMonthlySales;
	}

	public String getSaleByWeight() {
		return saleByWeight;
	}

	public void setSaleByWeight(String saleByWeight) {
		this.saleByWeight = saleByWeight;
	}

	public String getPromotion() {
		return promotion;
	}

	public void setPromotion(String promotion) {
		this.promotion = promotion;
	}

	@Override
	public String toString() {
		return "GoodsInfo [goodsOriginalPrice=" + goodsOriginalPrice + ", goodsPic=" + goodsPic + ", shopCheckStock="
				+ shopCheckStock + ", discount=" + discount + ", shopEvaluateScore=" + shopEvaluateScore
				+ ", shopMinimumOrderAmount=" + shopMinimumOrderAmount + ", promotional=" + promotional + ", shopNo="
				+ shopNo + ", goodsName=" + goodsName + ", shopName=" + shopName + ", goodsUnit=" + goodsUnit
				+ ", goodsAlias=" + goodsAlias + ", shopDistanceMax=" + shopDistanceMax + ", goodsUnitRemark="
				+ goodsUnitRemark + ", shopMainProducts=" + shopMainProducts + ", monthlySales=" + monthlySales
				+ ", goodsPrice=" + goodsPrice + ", goodsNo=" + goodsNo + ", memberPrice=" + memberPrice + ", shopLogo="
				+ shopLogo + ", shopOperatingStatus=" + shopOperatingStatus + ", shopScore=" + shopScore
				+ ", goodsPriceType=" + goodsPriceType + ", quantity=" + quantity + ", goodsUnitComplex="
				+ goodsUnitComplex + ", favorableRate=" + favorableRate + ", promotionPrice=" + promotionPrice
				+ ", skuNo=" + skuNo + ", shopDistance=" + shopDistance + ", specName=" + specName
				+ ", shopMonthlySales=" + shopMonthlySales + ", saleByWeight=" + saleByWeight + ", promotion="
				+ promotion + "]";
	}

}
